package landlords.server;

import landlords.server.proxy.ProtobufProxy;
import landlords.server.proxy.WebSocketProxy;

public class SimpleServer {
    public static void main(String[] args) throws InterruptedException {
        new Thread(()->{
            try {
                new ProtobufProxy().start(ServerContains.port);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }).start();

        new WebSocketProxy().start(ServerContains.port+1);
    }
}
